package org.example.one.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.one.common.Student;
import org.example.one.service.StudentService;


import org.example.one.mapper.StudentMapper;
import org.springframework.stereotype.Service;

/**
* @author acer
* @description 针对表【student】的数据库操作Service实现
* @createDate 2025-06-17 11:35:19
*/
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student>
    implements StudentService {

    @Override
    public Student getstudentByid(int sid) {
        return baseMapper.getStudentByid(sid);
    }

    @Override
    public void addStudent(Student student) {
        baseMapper.addStudent(student);
    }
}




